package com.duoduo.admin.api.dto;

import java.time.LocalDateTime;

import com.duoduo.devtools.generator.CodeGenerator;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(name="系统日志")
public class SysLogDTO {
	@Schema(description="id")
	private Long id;
	@Schema(description="日志标题")
	private String title;
	@Schema(description="服务ID")
	private String serviceId;
	@Schema(description="异常信息")
	private String exception;
	@Schema(description="日志标题")
	private String type;
	@Schema(description="请求URI")
	private String requestUri;
	@Schema(description="操作方式")
	private String method;
	@Schema(description="用户代理")
	private String userAgent;
	@Schema(description="操作IP地址")
	private String remoteAddr;
	@Schema(description="操作提交的数据")
	private String params;
	@Schema(description="执行时间")
	private Long time;
	@Schema(description="创建人")
	private String createBy;
	@Schema(description="更新人")
	private String updateBy;
	@Schema(description="删除标记")
	private Boolean delFlag;
	@Schema(description="创建时间")
	private LocalDateTime createTime;
	@Schema(description="更新时间")
	private LocalDateTime updateTime;
	
	
	public static void main(String[] args) {
		CodeGenerator codeGenerator = new CodeGenerator(SysLogDTO.class);
		codeGenerator.generateClass();
	}
}
